package com.ruicar.afs.cloud.common.modules.afscorebusiness.enums;

import com.ruicar.afs.cloud.common.core.enums.AfsBaseEnum;
import com.ruicar.afs.cloud.common.core.enums.annotations.AfsEnum;

/**
 * @param
 * @author yk.Li
 * @description 放款模式
 * @date 2020/7/9
 */
public enum LoanModelEnum implements AfsBaseEnum {

    @AfsEnum(key = "02", desc = "抵押前放款", mapping = {"afs-case=02", "afs-contract=beforeMortgage"})
    beforeMortgage("抵押前放款"),

    @AfsEnum(key = "01", desc = "抵押后放款", mapping = {"afs-case=01", "afs-contract=afterMortgage"})
    afterMortgage("抵押后放款"),

    @AfsEnum(key = "03", desc = "签约放款", mapping = {"afs-case=03", "afs-contract=sign"})
    sign("签约放款");

    private String desc;

    private LoanModelEnum(String desc) {
        this.desc = desc;
    }

    public String getDesc() {
        return this.desc;
    }
}
